import 'package:fluro/fluro.dart';
import 'package:ls_work/routers/router_init.dart';
import 'page/message_page.dart';
import 'page/message_info.dart';

class MallRouter implements IRouterProvider {
  static String mallPage = "/mall";
  static String messageInfoPage = "/mall/messageInfo";

  @override
  void initRouter(FluroRouter router) {
    router.define(mallPage,
        handler: Handler(handlerFunc: (_, params) => MallPage()));
    router.define(messageInfoPage,
        handler: Handler(handlerFunc: (_, params) => MessageInfoPage()));
  }
}
